import React from "react";
import { Space } from "antd";
import { NavLink, useRoutes } from "react-router-dom";
import routers from "@/router/index.js";
function App() {
  let element = useRoutes(routers);

  return (
    <>
      <Space>
        <NavLink className="list-group-item" to="base">
          基础
        </NavLink>

        <NavLink className="list-group-item" to="interview">
          面试题
        </NavLink>

      </Space>
      {element}
    </>
  );
}

export default App;
